package com.kt.mes.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工作计划项目对象 t_work_plan_item
 * 
 * @author lzc
 * @date 2021-02-02
 */
public class WorkPlanItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long wId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String opId;

    /** 子订单号 */
    @Excel(name = "子订单号")
    private Integer opsNum;

    /** 步骤号 */
    @Excel(name = "步骤号")
    private Integer stepNum;

    /** 产线编号 */
    @Excel(name = "产线编号")
    private String plId;

    /** 工位编号 */
    @Excel(name = "工位编号")
    private String siteId;

    private String siteName;

    /** 动作编号 */
    @Excel(name = "动作编号")
    private String actId;

    private  String actName;

    /** 状态 */
    @Excel(name = "状态")
    private String wpiState;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;


    private Long tpriId;

    private Integer trayId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setwId(Long wId) 
    {
        this.wId = wId;
    }

    public Long getwId() 
    {
        return wId;
    }
    public void setOpId(String opId) 
    {
        this.opId = opId;
    }

    public String getOpId() 
    {
        return opId;
    }
    public void setOpsNum(Integer opsNum) 
    {
        this.opsNum = opsNum;
    }

    public Integer getOpsNum() 
    {
        return opsNum;
    }
    public void setStepNum(Integer stepNum) 
    {
        this.stepNum = stepNum;
    }

    public Integer getStepNum() 
    {
        return stepNum;
    }
    public void setPlId(String plId) 
    {
        this.plId = plId;
    }

    public String getPlId() 
    {
        return plId;
    }
    public void setSiteId(String siteId) 
    {
        this.siteId = siteId;
    }

    public String getSiteId() 
    {
        return siteId;
    }
    public void setActId(String actId) 
    {
        this.actId = actId;
    }

    public String getActId() 
    {
        return actId;
    }
    public void setWpiState(String wpiState) 
    {
        this.wpiState = wpiState;
    }

    public String getWpiState() 
    {
        return wpiState;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public Long getTpriId() {
        return tpriId;
    }

    public void setTpriId(Long tpriId) {
        this.tpriId = tpriId;
    }

    public String getActName() {
        return actName;
    }

    public void setActName(String actName) {
        this.actName = actName;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public Integer getTrayId() {
        return trayId;
    }

    public void setTrayId(Integer trayId) {
        this.trayId = trayId;
    }

    @Override
    public String toString() {
        return "WorkPlanItem{" +
                "id=" + id +
                ", wId=" + wId +
                ", opId='" + opId + '\'' +
                ", opsNum=" + opsNum +
                ", stepNum=" + stepNum +
                ", plId='" + plId + '\'' +
                ", siteId='" + siteId + '\'' +
                ", siteName='" + siteName + '\'' +
                ", actId='" + actId + '\'' +
                ", actName='" + actName + '\'' +
                ", wpiState='" + wpiState + '\'' +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", tpriId=" + tpriId +
                ", trayId=" + trayId +
                '}';
    }
}
